﻿@model Seven.DataModel.ViewModels.WorkflowAbout.FormModel


<script src="~/Scripts/views/WorkflowForm/FormForm.js" type="text/javascript"></script>

<form id="Form-Form" name="Form-Form">
    <div class="div_center">
        <fieldset>
            <legend class="panel-title">表单信息</legend>
            @Html.HiddenFor(m => m.ID)
            <table class="TableBlock">
                <tr>
                    <td class="TableLabel">
                        名称：
                    </td>
                    <td class="TableData">
                        @Html.TextBoxFor(model => model.Name)
                    </td>
                    <td class="TableLabel">
                        类型：
                    </td>
                    <td class="TableData">
                        @Html.HiddenFor(model => model.Type)
                        @Model.TypeName
                    </td>
                </tr>
                <tr>
                    <td class="TableLabel">
                        排序号：
                    </td>
                    <td class="TableData">
                        @Html.TextBoxFor(model => model.SortNumber)
                    </td>
                    <td class="TableLabel">
                        打开设计页面：
                    </td>
                    <td class="TableData">
                        @Html.RadioButtonFor(m => m.OpenDesignPage, true) 打开
                        @Html.RadioButtonFor(m => m.OpenDesignPage, false) 不打开
                    </td>
                </tr>
                <tr>
                    <td class="TableLabel">
                        备注：
                    </td>
                    <td class="TableData" colspan="3">
                        @Html.TextAreaFor(model => model.Remark, new { style = "width:95%;" })
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
</form>

<script>
    $(function () {
        window.views.WorkflowForm.FormForm.initPage("Form-Form");
    });
</script>
